package alarm.ruiqi.com.alarm_pro.domain;

import java.io.Serializable;
import java.util.List;

/**
 * Created by 徐宇健 on 2015/9/1 0001.
 */
public class JsonPageModel<T> implements Serializable {

    private int totalPage;
    private int count;
    private int first;
    private int last;
    private int prev;
    private int next;
    private boolean firstPage;
    private boolean lastPage;
    private List<T> content;

    public void setTotalPage(int totalPage) {
        this.totalPage = totalPage;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public void setFirst(int first) {
        this.first = first;
    }

    public void setLast(int last) {
        this.last = last;
    }

    public void setPrev(int prev) {
        this.prev = prev;
    }

    public void setNext(int next) {
        this.next = next;
    }

    public void setFirstPage(boolean firstPage) {
        this.firstPage = firstPage;
    }

    public void setLastPage(boolean lastPage) {
        this.lastPage = lastPage;
    }


    public int getTotalPage() {
        return totalPage;
    }

    public int getCount() {
        return count;
    }

    public int getFirst() {
        return first;
    }

    public int getLast() {
        return last;
    }

    public int getPrev() {
        return prev;
    }

    public int getNext() {
        return next;
    }

    public boolean getFirstPage() {
        return firstPage;
    }

    public boolean getLastPage() {
        return lastPage;
    }

    public List<T> getContent() {
        return content;
    }

    public void setContent(List<T> content) {
        this.content = content;
    }
}
